<div id="wrapper-content">
<div class="titre_home" >Information de la carte fidélité</div>
<table  width="100%"  >
    <?php foreach ($detail_card_vip as $card):?>
    <?php
         $image_protect = './assets/text_img/' . $card['image'];

         if (file_exists($image_protect) && $card['image']!= null) {
               $image_protect = base_url() . 'assets/text_img/' . $card['image'];
         } else {
               $image_protect = root_url('seatting-falin') . 'assets/noimage.gif';
         }

    ?>
    <tr>
        <td align="center"><img width="300px" border="0" alt="" src="<?php echo $image_protect;?>"></td>
    </tr>
    <tr>
        <td style="padding-right: 10px; text-align: justify;"><?php echo $card['content']; ?></td>
    </tr>
    <?php endforeach;?>
</table>
</div>